Skip to content
This repository was archived by the owner on Feb 4, 2022. It is now read-only.

Conversation

@sebdeckers
Copy link
Contributor

Fixes an error when connecting to MongoDB Atlas with the option promoteBuffers: true. Emabling that option causes the binary payload to be returned as a Node.js Buffer instance.

Copy link
Contributor

@daprahamian daprahamian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this @sebdeckers. Can you also add this to the other call to sendAuthCommand on line 213?

@sebdeckers
Copy link
Contributor Author

I'm not sure what you mean. Does line 202 not already address that?

@daprahamian
Copy link
Contributor

ahh, nvm, looks like it is not necessary on 213.

@daprahamian daprahamian merged commit bcb87ca into mongodb-js:master May 7, 2019
@daprahamian
Copy link
Contributor

Thank you for contributing @sebdeckers!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants